package cn.com.api.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_favorite;
import cn.com.api.service.base.U_favoriteServiceBase;

/**
 * 
 */
@Service
public interface ApiU_favoriteService extends U_favoriteServiceBase {

	public void deleteU_favoriteByMap(Map param);

	public Integer getFavoriteCount(Map param);

	public List<Map<String, Object>> getMyFavoriteSummary(Integer user_id);

	public ApiU_favorite getFavoriteByCondition(Map<String, Object> map);

	public Map<String, Object> MyFavoriteSummary(String user_id) throws Exception;

}
